package com.behelpful.demo.search.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 规范 Es实体类
 *
 * @author Alay
 * @date 2020-11-18 18:52
 * @project behelpful
 */
public abstract class ISearchModel implements Serializable {

	@Getter
	@Setter
	private String index;

	/**
	 * 获得ES主键ID
	 *
	 * @return
	 */
	public abstract String getEsId();
}